package com.atguigu.gulimall.ware.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author : Jungle
 * @Description :
 */
@NoArgsConstructor
@Data
public class PurchaseDoneVo {

    /**
     * id : 1
     * items : [{"itemId":1,"status":3,"reason":""},{"itemId":2,"status":4,"reason":"无货"}]
     */
    /**
     * 采购单id
     */
    @NotNull
    private Long id;
    /**
     * 采购项
     */
    private List<PurchaseItemDoneVo> items;

}
